package com.jsyl.lwbk.business.service.impl;

import com.jsyl.lwbk.business.mapper.ChildProjectConfigMapper;
import com.jsyl.lwbk.business.domain.ChildProjectConfig;
import com.jsyl.lwbk.business.service.ChildProjectConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Fitch
 * 2022/6/22
 */
@Service
public class ChildProjectConfigServiceImpl implements ChildProjectConfigService {

    @Autowired
    private ChildProjectConfigMapper childProjectConfigMapper;

    @Override
    public ChildProjectConfig getProjectReplaceTimes(Long childId, String projectCode) {
        return this.childProjectConfigMapper.selectOne(childId,projectCode);
    }
}
